<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>展示列表</title>
    <link rel="stylesheet" href="./css/form.css">
</head>
<body>
    <h1 style="text-align: center;">展示富文本框内容</h1>
    <div class="body">

    </div>
</body>
<script src="./js/jquery-3.2.1.min.js"></script>
<script >
    var siteArr = localStorage.getItem("site").split('*#').sort();
    console.log(siteArr)
    for(var i=0;i<siteArr.length;i++){
        $('<div class="body-content">'+siteArr[i]+'</div>').appendTo($('.body'));
    }
</script>
</html>